tahoe: Fix bug that made initremote require an encryption= parameter,
despite git-annex encryption not being used with this special remote,
since tahoe handles encryption itself.
The chunking parameters were also accepted and won't be any longer either.
They were also not actually used.
c4ea3ca40ae6ba973287ca94e892e93973a8376e was the commit. At that point
specialRemote was being added to most remotes and I forgot tahoe doesn't
need these parameters.
Turns out that, when embedcreds=yes was used, it did *not* cause the
introducer-furl and shared-convergence-secret to be encrypted, even
though encryption= was specified. Which is only not a security hole
because encryption= was not documented to work with the tahoe special
remote at all!
It might be nice to support onlyencryptcreds=yes with tahoe, and it
would make sense to accept the encryption= parameter then, and only use
it for encrypting the creds. That would take some work, since the
encryption= parameter would need to be optional, and the usual encrypted
special remote code couldn't be used.
Sponsored-by: unqueued
* Don't allow the type of encryption of an existing special remote to be
changed. Fixes reversion introduced in version 7.20191230.
* tahoe: Support tahoe-lafs command versions newer than 1.16.
+ * tahoe: Fix bug that made initremote require an encryption= parameter,
+ despite git-annex encryption not being used with this special remote.
+ Fixes reversion introduced in version 7.20191230.
* Removed support for git versions older than 2.22.
* Bump aws build dependency to 0.24.1.
* stack.yaml: Update to lts-24.2.
type Capability = String
remote :: RemoteType
-remote = specialRemoteType $ RemoteType
+remote = RemoteType
{ typename = "tahoe"
, enumerate = const (findSpecialRemotes "tahoe")
, generate = gen
whether you want to give them access to your tahoe system before
using embedcreds!
-* `onlyencryptcreds` - Optional. Set to "yes" to make the `encryption`
- only be used for the embedded tahoe credentials, but not used to encrypt
- the content stored on the special remote.
-
Setup example:
# TAHOE_FURL=... git annex initremote tahoe type=tahoe embedcreds=yes